﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A33 RID: 2611
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LeaveTrialActivityCsReq : IMessage<LeaveTrialActivityCsReq>, IMessage, IEquatable<LeaveTrialActivityCsReq>, IDeepCloneable<LeaveTrialActivityCsReq>, IBufferMessage
	{
		// Token: 0x170020F6 RID: 8438
		// (get) Token: 0x060074EA RID: 29930 RVA: 0x00138288 File Offset: 0x00136488
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LeaveTrialActivityCsReq> Parser
		{
			get
			{
				return LeaveTrialActivityCsReq._parser;
			}
		}

		// Token: 0x170020F7 RID: 8439
		// (get) Token: 0x060074EB RID: 29931 RVA: 0x0013828F File Offset: 0x0013648F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LeaveTrialActivityCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170020F8 RID: 8440
		// (get) Token: 0x060074EC RID: 29932 RVA: 0x001382A1 File Offset: 0x001364A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LeaveTrialActivityCsReq.Descriptor;
			}
		}

		// Token: 0x060074ED RID: 29933 RVA: 0x001382A8 File Offset: 0x001364A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LeaveTrialActivityCsReq()
		{
		}

		// Token: 0x060074EE RID: 29934 RVA: 0x001382B0 File Offset: 0x001364B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LeaveTrialActivityCsReq(LeaveTrialActivityCsReq other) : this()
		{
			this.stageId_ = other.stageId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060074EF RID: 29935 RVA: 0x001382D5 File Offset: 0x001364D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LeaveTrialActivityCsReq Clone()
		{
			return new LeaveTrialActivityCsReq(this);
		}

		// Token: 0x170020F9 RID: 8441
		// (get) Token: 0x060074F0 RID: 29936 RVA: 0x001382DD File Offset: 0x001364DD
		// (set) Token: 0x060074F1 RID: 29937 RVA: 0x001382E5 File Offset: 0x001364E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint StageId
		{
			get
			{
				return this.stageId_;
			}
			set
			{
				this.stageId_ = value;
			}
		}

		// Token: 0x060074F2 RID: 29938 RVA: 0x001382EE File Offset: 0x001364EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LeaveTrialActivityCsReq);
		}

		// Token: 0x060074F3 RID: 29939 RVA: 0x001382FC File Offset: 0x001364FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LeaveTrialActivityCsReq other)
		{
			return other != null && (other == this || (this.StageId == other.StageId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060074F4 RID: 29940 RVA: 0x0013832C File Offset: 0x0013652C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.StageId != 0U)
			{
				num ^= this.StageId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060074F5 RID: 29941 RVA: 0x0013836B File Offset: 0x0013656B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060074F6 RID: 29942 RVA: 0x00138373 File Offset: 0x00136573
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060074F7 RID: 29943 RVA: 0x0013837C File Offset: 0x0013657C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.StageId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.StageId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060074F8 RID: 29944 RVA: 0x001383B0 File Offset: 0x001365B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.StageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.StageId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060074F9 RID: 29945 RVA: 0x001383EE File Offset: 0x001365EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LeaveTrialActivityCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.StageId != 0U)
			{
				this.StageId = other.StageId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060074FA RID: 29946 RVA: 0x0013841F File Offset: 0x0013661F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060074FB RID: 29947 RVA: 0x00138428 File Offset: 0x00136628
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.StageId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002C96 RID: 11414
		private static readonly MessageParser<LeaveTrialActivityCsReq> _parser = new MessageParser<LeaveTrialActivityCsReq>(() => new LeaveTrialActivityCsReq());

		// Token: 0x04002C97 RID: 11415
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002C98 RID: 11416
		public const int StageIdFieldNumber = 5;

		// Token: 0x04002C99 RID: 11417
		private uint stageId_;
	}
}
